#! /bin/bash

REMOVE_NEXT=0

for file in `svn status`
do
    if [ $REMOVE_NEXT -eq 1 ]
    then
	svn remove $file
	REMOVE_NEXT=0
    fi
    
    if [ $file = "!" ]
    then
	REMOVE_NEXT=1
    fi
done